package co.th.bjc.md.common;

public class Common {

	public static boolean isNull(Object obj){
		if (null == obj) return true;
		else if (obj instanceof String){
			if ("".equals(obj)) return true;
		}
		
		return false;
	}
	
	public static boolean inNotNull(Object obj){
		if (obj == null){
			return false;
		}else if (obj instanceof String){
			if (obj.equals("")) return false;
		}
		return true;
	}
}
